package org.merak.core.test.model;

import java.util.Date;
import java.util.Enumeration;
import java.util.Map;

import org.merak.core.annotation.Style;
import org.merak.core.annotation.types.TextTransform;

public class StyledEntity extends Entity {

	//~ Constructors /////////////////////////////////////////////////////////////
	//****************************************************************************
	public StyledEntity(Integer id) {
		super(id);
	}

	//~ Methods //////////////////////////////////////////////////////////////////
	//****************************************************************************
	@Override
	@Style(textTransform=TextTransform.UPPERCASE,trim=true,zindex=1)
	public String getString() {
		return super.getString();
	}

	@Override
	@Style(textTransform=TextTransform.UPPERCASE,zindex=2)
	public String getEscapedString() {
		return super.getEscapedString();
	}

	@Override
	@Style(number="00.00",zindex=2)
	public int getInteger() {
		return super.getInteger();
	}

	@Override
	@Style(number="00.00",zindex=3)
	public double getFloating() {
		return super.getFloating();
	}

	@Override
	@Style(date="dd/MM/yyyy",zindex=4)
	public Date getDate() {
		return super.getDate();
	}

	@Override
	@Style(textTransform=TextTransform.CAPITALIZE,zindex=5)
	public KingdomOfLife getEnum() {
		return super.getEnum();
	}

	@Override
	@Style(zindex=6)
	public char getCharacter() {
		return super.getCharacter();
	}

	@Override
	@Style(zindex=7)
	public boolean isBool() {
		return super.isBool();
	}

	@Override
	@Style(textTransform=TextTransform.UPPERCASE,zindex=8)
	public String[] getArray() {
		return super.getArray();
	}

	@Override
	@Style(textTransform=TextTransform.CAPITALIZE,zindex=9)
	public Iterable<String> getIterable() {
		return super.getIterable();
	}

	@Override
	@Style(trim=true,zindex=10)
	public Map<String, Object> getMap() {
		return super.getMap();
	}

	@Override
	@Style(textTransform=TextTransform.LOWERCASE,zindex=11)
	public Enumeration<String> getEnumeration() {
		return super.getEnumeration();
	}
	//****************************************************************************

}
